//一， 返还工资
// var Salary = parseInt(prompt());
function fn (Salary) {
  for (i = 1; i <= 20; i++) {
    Salary += Salary * 0.05;
  }
  console.log(Salary);
  resultInp.value = parseInt(Salary);
  // return true;
}
// fn(Salary);

// 二，和尚挑水
function fn (getWater, nowWater) {
  var sum = 0;
  for (i = getWater; i < nowWater; i += 5) {
    sum++;

  }
  console.log(sum);
  resultInp.value = parseInt(sum);

}
// fn(0, 50);